inherited FRelatorioOcorrenciaRetorno: TFRelatorioOcorrenciaRetorno
  Caption = 'VENDAS / FATURAMENTO / NFS-e'
  PixelsPerInch = 96
  TextHeight = 16
  inherited Panel2: TPanel
    Caption = 'OCORRENCIA DA IMPORTA'#199#195'O'
  end
  inherited GroupBox1: TGroupBox
    object GroupBox3: TGroupBox
      Left = 8
      Top = 24
      Width = 249
      Height = 85
      Caption = ' Per'#237'odo de Emiss'#227'o '
      TabOrder = 0
      object Label3: TLabel
        Left = 16
        Top = 32
        Width = 64
        Height = 16
        Caption = 'Data Inicial'
      end
      object Label4: TLabel
        Left = 128
        Top = 32
        Width = 59
        Height = 16
        Caption = 'Data Final'
      end
      object dtInicial: TDateEdit
        Left = 16
        Top = 48
        Width = 104
        Height = 21
        NumGlyphs = 2
        TabOrder = 0
      end
      object dtFinal: TDateEdit
        Left = 128
        Top = 48
        Width = 104
        Height = 21
        NumGlyphs = 2
        TabOrder = 1
      end
    end
  end
  inherited RLReport: TRLReport
    Left = 40
    Top = 245
    DataSource = DSPesquisa
    object RLBand2: TRLBand
      Left = 38
      Top = 120
      Width = 718
      Height = 18
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = [fsBold]
      ParentFont = False
      object RLLabel1: TRLLabel
        Left = 10
        Top = 0
        Width = 39
        Height = 16
        Caption = 'N'#186' NF'
      end
      object RLLabel2: TRLLabel
        Left = 66
        Top = 0
        Width = 74
        Height = 16
        Caption = 'Verificador'
      end
      object RLLabel3: TRLLabel
        Left = 162
        Top = 0
        Width = 56
        Height = 16
        Caption = 'Emiss'#227'o'
      end
      object RLLabel4: TRLLabel
        Left = 367
        Top = 0
        Width = 56
        Height = 16
        Caption = 'Emiss'#227'o'
      end
      object RLLabel5: TRLLabel
        Left = 293
        Top = 0
        Width = 69
        Height = 16
        Caption = 'S'#233'rie RPS'
      end
      object RLLabel6: TRLLabel
        Left = 239
        Top = 0
        Width = 49
        Height = 16
        Caption = 'N'#186' RPS'
      end
      object RLLabel7: TRLLabel
        Left = 676
        Top = 0
        Width = 38
        Height = 16
        Caption = 'Valor'
      end
      object RLLabel8: TRLLabel
        Left = 618
        Top = 0
        Width = 26
        Height = 16
        Caption = 'ISS'
      end
      object RLLabel9: TRLLabel
        Left = 428
        Top = 0
        Width = 49
        Height = 16
        Caption = 'Cliente'
      end
    end
    object RLBand3: TRLBand
      Left = 38
      Top = 138
      Width = 718
      Height = 17
      object RLDBText2: TRLDBText
        Left = 2
        Top = 0
        Width = 59
        Height = 16
        Alignment = taCenter
        AutoSize = False
        DataField = 'NF_NUMERONF'
        DataSource = DSPesquisa
      end
      object RLDBText3: TRLDBText
        Left = 66
        Top = 0
        Width = 74
        Height = 16
        Alignment = taCenter
        AutoSize = False
        DataField = 'NF_COD_VERIFICACAO'
        DataSource = DSPesquisa
      end
      object RLDBText4: TRLDBText
        Left = 146
        Top = 0
        Width = 87
        Height = 16
        Alignment = taCenter
        AutoSize = False
        DataField = 'NF_DATAEMISSAO'
        DataSource = DSPesquisa
      end
      object RLDBText5: TRLDBText
        Left = 239
        Top = 0
        Width = 50
        Height = 16
        Alignment = taCenter
        AutoSize = False
        DataField = 'NF_NRPS'
        DataSource = DSPesquisa
      end
      object RLDBText6: TRLDBText
        Left = 293
        Top = 0
        Width = 70
        Height = 16
        Alignment = taCenter
        AutoSize = False
        DataField = 'NF_SERIE_RPS'
        DataSource = DSPesquisa
      end
      object RLDBText7: TRLDBText
        Left = 367
        Top = 0
        Width = 56
        Height = 16
        Alignment = taCenter
        AutoSize = False
        DataField = 'NF_DTEMISSAO_RPS'
        DataSource = DSPesquisa
      end
      object RLDBText8: TRLDBText
        Left = 428
        Top = 0
        Width = 189
        Height = 16
        AutoSize = False
        DataField = 'NF_CLIENTE_DESC'
        DataSource = DSPesquisa
      end
      object RLDBText9: TRLDBText
        Left = 618
        Top = 0
        Width = 26
        Height = 16
        Alignment = taCenter
        AutoSize = False
        DataField = 'NF_PERCISS'
        DataSource = DSPesquisa
      end
      object RLDBText10: TRLDBText
        Left = 648
        Top = 0
        Width = 66
        Height = 16
        Alignment = taRightJustify
        AutoSize = False
        DataField = 'NF_VALORNOTAFISCAL'
        DataSource = DSPesquisa
      end
    end
    object RLBand4: TRLBand
      Left = 38
      Top = 155
      Width = 718
      Height = 20
      BandType = btSummary
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = True
      Borders.DrawRight = False
      Borders.DrawBottom = False
      object RLSystemInfo2: TRLSystemInfo
        Left = 2
        Top = 4
        Width = 207
        Height = 15
        Info = itDetailCount
        Text = 'Quantidade de notas: '
      end
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      'SELECT '
      '  NOTAFISCALVENDA.NF_SITUACAO,'
      '  NOTAFISCALVENDA.NF_NUMERONF,'
      '  NOTAFISCALVENDA.NF_DATAEMISSAO,'
      '  NOTAFISCALVENDA.NF_TIPO,'
      '  NOTAFISCALVENDA.NF_PERCISS,'
      '  NOTAFISCALVENDA.NF_VALORNOTAFISCAL,'
      '  MUNICIPIO.MU_VCNOME,'
      '  MUNICIPIO.MU_UF,'
      '  NOTAFISCALVENDA.NF_NRPS,'
      '  NOTAFISCALVENDA.NF_SERIE_RPS,'
      '  NOTAFISCALVENDA.NF_DTEMISSAO_RPS,'
      '  NOTAFISCALVENDA.NF_CLIENTE_DESC,'
      '  NOTAFISCALVENDA.NF_COD_VERIFICACAO'
      'FROM'
      '  NOTAFISCALVENDA'
      
        '  INNER JOIN MUNICIPIO ON (NOTAFISCALVENDA.NF_MUNICIPIO = MUNICI' +
        'PIO.MU_CODIGO)')
    object QPesquisaNF_SITUACAO: TIntegerField
      FieldName = 'NF_SITUACAO'
      Origin = 'BASE.NOTAFISCALVENDA.NF_SITUACAO'
    end
    object QPesquisaNF_NUMERONF: TIntegerField
      FieldName = 'NF_NUMERONF'
      Origin = 'BASE.NOTAFISCALVENDA.NF_NUMERONF'
    end
    object QPesquisaNF_DATAEMISSAO: TDateTimeField
      FieldName = 'NF_DATAEMISSAO'
      Origin = 'BASE.NOTAFISCALVENDA.NF_DATAEMISSAO'
      DisplayFormat = 'dd/mm/yy hh:mm'
    end
    object QPesquisaNF_TIPO: TIntegerField
      FieldName = 'NF_TIPO'
      Origin = 'BASE.NOTAFISCALVENDA.NF_TIPO'
    end
    object QPesquisaNF_PERCISS: TFloatField
      FieldName = 'NF_PERCISS'
      Origin = 'BASE.NOTAFISCALVENDA.NF_PERCISS'
    end
    object QPesquisaNF_VALORNOTAFISCAL: TFloatField
      FieldName = 'NF_VALORNOTAFISCAL'
      Origin = 'BASE.NOTAFISCALVENDA.NF_VALORNOTAFISCAL'
      DisplayFormat = '#,##0.00'
    end
    object QPesquisaMU_VCNOME: TStringField
      FieldName = 'MU_VCNOME'
      Origin = 'BASE.MUNICIPIO.MU_VCNOME'
      Size = 30
    end
    object QPesquisaMU_UF: TStringField
      FieldName = 'MU_UF'
      Origin = 'BASE.MUNICIPIO.MU_UF'
      Size = 2
    end
    object QPesquisaNF_NRPS: TIntegerField
      FieldName = 'NF_NRPS'
      Origin = 'BASE.NOTAFISCALVENDA.NF_NRPS'
    end
    object QPesquisaNF_SERIE_RPS: TStringField
      FieldName = 'NF_SERIE_RPS'
      Origin = 'BASE.NOTAFISCALVENDA.NF_SERIE_RPS'
      Size = 5
    end
    object QPesquisaNF_DTEMISSAO_RPS: TDateTimeField
      FieldName = 'NF_DTEMISSAO_RPS'
      Origin = 'BASE.NOTAFISCALVENDA.NF_DTEMISSAO_RPS'
      DisplayFormat = 'dd/mm/yy'
    end
    object QPesquisaNF_CLIENTE_DESC: TStringField
      FieldName = 'NF_CLIENTE_DESC'
      Origin = 'BASE.NOTAFISCALVENDA.NF_CLIENTE_DESC'
      Size = 80
    end
    object QPesquisaNF_COD_VERIFICACAO: TStringField
      FieldName = 'NF_COD_VERIFICACAO'
      Origin = 'BASE.NOTAFISCALVENDA.NF_COD_VERIFICACAO'
      Size = 8
    end
  end
end
